POV-Ray : Newsgroups : povray.unofficial.patches : MegaPov 0.4 Now Available (Windows/Macintosh) : Re: MegaPov 0.4 Now Available (Windows/Macintosh) Server Time
3 Jul 2024 03:54:23 EDT (-0400)
  Re: MegaPov 0.4 Now Available (Windows/Macintosh)  
From: Nieminen Juha
Date: 30 Jan 2000 13:05:04
Message: <38947d50@news.povray.org>
The new features are amazing, as usual... :)

  I have a question about the trace function (perhaps this is not the correct
thread for this, but I'm too lazy to write a separate article...):
  The documentation says:

"If a fourth parameter in the form of a vector identifier is provided,
the normal of the object at the intersection point (not including any normal
perturbations due to textures) is stored into that vector."

  What if I really want the perturbed normal? I can think of some uses of
this.
  Perhaps a 5th parameter (of boolen type) could be added? If the parameter
is true, then the returned normal is perturbed by the texture before
returning. The default value could be false.

-- 
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.